<?php
	include_once 'isLogin.php';
	
	$table_name = "user_reported";
	
	//获得数据
	if($_GET['id']!=false){
		$sql=$sql=$table_name." a left join users u on a.user_id=u.id left join companies c on a.company_id=c.id where a.id=".$_GET['id'];
		$row=$commonc->getInfos($sql, $key='a.id,u.userName,u.email,u.phoneNumber,a.data,a.user_id,a.content,c.title,a.img',$debug='0');
		$smarty->assign('row',$row);
		
		$smarty->assign('area',$area);
	}
	
	$smarty->display($_filename.".html");
	
?>